package com.yanqu.road.entity.autodata.hotpotjump.config;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.autodata.AutoActivityConfigObject;

import java.sql.ResultSet;
import java.sql.SQLException;

@FieldTypeAnnotation(tableName = "t_s_activity_hotpotjump_num")
public class HotpotJumpNumConfig extends AutoActivityConfigObject {
    @FieldTypeAnnotation(select = true, orderASC = true, isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "id", isIndex = true)
    private int id;
    @FieldTypeAnnotation(desc = "回合")
    private int round;
    @FieldTypeAnnotation(desc = "稳定数")
    private int stableNum;
    @FieldTypeAnnotation(desc = "最大存在数")
    private int maxNum;
    @FieldTypeAnnotation(desc = "最小生成数")
    private int minNum;

//    public HotpotJumpNumConfig(ResultSet rs) throws SQLException {
//        this.activityId = rs.getInt("activityId");
//        this.id = rs.getInt("id");
//        this.round = rs.getInt("round");
//        this.stableNum = rs.getInt("stableNum");
//        this.maxNum = rs.getInt("maxNum");
//        this.minNum = rs.getInt("minNum");
//    }

    public int getActivityId() {
        return activityId;
    }

    public int getId() {
        return id;
    }

    public int getRound() {
        return round;
    }

    public int getStableNum() {
        return stableNum;
    }

    public int getMaxNum() {
        return maxNum;
    }

    public int getMinNum() {
        return minNum;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public void setStableNum(int stableNum) {
        this.stableNum = stableNum;
    }

    public void setMaxNum(int maxNum) {
        this.maxNum = maxNum;
    }

    public void setMinNum(int minNum) {
        this.minNum = minNum;
    }
}